package com.atom.module.mvvm.base.view.fragment

import android.os.Bundle
import android.view.KeyEvent
import androidx.fragment.app.Fragment
import com.atom.module.mvvm.base.ApiFragment

abstract class AbstractFragment : Fragment(),
    ApiFragment.OnBackPressedListener,
    ApiFragment.OnFinishListener,
    ApiFragment.OnKeyPressedListener,
    ApiFragment.OnMenuPressedListener,
    ApiFragment.OnNewIntentListener {

    override fun onBackPressed(): Boolean {
        return false
    }

    override fun onFinish(): Boolean {
        return false
    }

    override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
        return false
    }

    override fun onKeyLongPress(keyCode: Int, event: KeyEvent?): Boolean {
        return false
    }

    override fun onKeyUp(keyCode: Int, event: KeyEvent?): Boolean {
        return false
    }

    override fun onKeyMultiple(keyCode: Int, count: Int, event: KeyEvent?): Boolean {
        return false
    }

    override fun onNewIntent(bundle: Bundle?): Boolean {
        return false
    }

    override fun onMenuPressed() {

    }
}
